package com.cashmama.market.api.domain.vo.message;

import com.google.common.collect.Lists;

import java.util.List;

/**
 * @program: market-api
 * @description
 * @author: frank
 * @create: 2019-12-30 11:02
 **/
public class MessageListInfoVO {
    /**
     * 是否有下一页
     */
    private Boolean hasNextPage = Boolean.FALSE;

    private Boolean hasUnreadNotice = Boolean.FALSE;

    //private Boolean hasUnreadActivity = Boolean.FALSE;

    /**
     * 消息列表
     */
    private List<MessageListVO> messages = Lists.newArrayList();

    public Boolean getHasNextPage() {
        return hasNextPage;
    }

    public MessageListInfoVO setHasNextPage(Boolean hasNextPage) {
        this.hasNextPage = hasNextPage;
        return this;
    }

    public Boolean getHasUnreadNotice() {
        return hasUnreadNotice;
    }

    public MessageListInfoVO setHasUnreadNotice(Boolean hasUnreadNotice) {
        this.hasUnreadNotice = hasUnreadNotice;
        return this;
    }

    public List<MessageListVO> getMessages() {
        return messages;
    }

    public MessageListInfoVO setMessages(List<MessageListVO> messages) {
        this.messages = messages;
        return this;
    }
}
